package com.sky.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor

@Schema(description = "修改文章传递的数据模型")
public class ArticleUpdateDTO {

    //id
    private Long id;

    //标题
    private String title;

    //内容
    private String  content;

    //分类id
    private Long categoryId;


    //浏览量
    private Long viewCount;

    //点赞量
    private Long likeCount;

    //评论数
    private Long commentCount;

    //是否置顶（0否，1是）
    private Integer isTop;

    //是否推荐
    private Integer isRecommend;

    //更新时间
    private LocalDateTime updateTime;

    //标签列表名
    private List<Long> tagIdList;
}
